package com.itcpeng.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itcpeng.dao.InformationDao;
import com.itcpeng.pojo.Member;
import com.itcpeng.service.InformationService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service(interfaceClass = InformationService.class)
public class InformationServiceImpl implements InformationService {

    @Autowired
    private InformationDao informationDao;

    @Override
    public Member findTelephone(String telephone) {
        return informationDao.findTelephone(telephone);
    }
}
